package mercurius.fitness.client.rb.measurement.forms;

import mercurius.fitness.client.rb.measurement.Measurements;
import net.pleso.framework.client.bl.forms.items.IFormItem;
import net.pleso.framework.client.bl.forms.items.IFormItemsGroup;
import net.pleso.framework.client.bl.forms.items.impl.EditFormItem;
import net.pleso.framework.client.bl.forms.items.impl.FormItemsGroup;
import net.pleso.framework.client.bl.forms.items.impl.MultilineEditFormItem;

public class MeasurementsForm {
	
	protected static IFormItemsGroup[] groups;
	
	static {
		IFormItem[] items = {
				new EditFormItem(Measurements.Columns.date),
				new EditFormItem(Measurements.Columns.weight),
				new EditFormItem(Measurements.Columns.fat),
				new EditFormItem(Measurements.Columns.restingpulse),
				new EditFormItem(Measurements.Columns.milestone),
				new MultilineEditFormItem(Measurements.Columns.notes, 10)
				};
		
		groups = new IFormItemsGroup[] { 
					new FormItemsGroup(null, items)
				};
	}
	 
}
